﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Banner.ascx.cs" Inherits="UserControl_Banner" %>
<asp:Panel ID="pnBanner" runat="server" CssClass="banner" Visible="true">
    <link href="/scripts/slidebanner/slider.css" rel="stylesheet" type="text/css" />
    <script src="/scripts/slidebanner/jquery.js" type="text/javascript"></script>
    <script src="/scripts/slidebanner/slider.js" type="text/javascript"></script>

    <script type="text/javascript">

            
            $(document).ready(function () {
        $('#slider-list').aslider({
            'speed': 500,
            'animation': <%=effect %>,
            'auto': true,
            'delay': 3000,
            'pix_count_x': 14,
            'pix_count_y': 8,
            'pix_effect': 'show',
            'pix_random': true,
            'btn_opacity': .3,
            'title_opacity': .8,
            'description_opacity': .6
        });
    });
    </script>
    <div id="FlashBanner">
        <ul id='slider-list'>
            <%=result %>
        </ul>
    </div>
    
</asp:Panel>
